package org.springframework.zp.transaction.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;

@Component
public class ConfigurationService2 {
	@Autowired
	JdbcTemplate jdbcTemplate;

	public void update(){
		jdbcTemplate.update("update t set name='狗腿子' where id = 2");
	}
}